package demo14static关键字详解;

//static
public class Student {
    //静态的变量 多线程！
    private static int age;
    //非静态的变量
    private double score;

    public void run(){
        go();
    }

    public static void go(){

    }

    public static void main(String[] args) {

        /*        Student s1 = new Student();
        System.out.println(Student.age);
        System.out.println(s1.age);
        System.out.println(s1.score);*/

        new Student().run();
        Student.go();

    }
}
